<!DOCTYPE HTML>
<html>
    <head>
        <title>表格标签</title>
        <meta charset='UTF-8'>
        <link rel='stylesheet' type='text/css' href='../css/c1.css'>
    </head>
    <body>
            <div class='title'>table是表格标签</div><br/>
            tr 用来定义行数<br/>
            td 指每行的单元格
        <hr/>
        <div class='title'>代码示例</div>
            <div class='code'>
            <pre>
                &lt;<span class='red'>table </span>border=1 width='50%'&gt;
                &lt;tr&gt;
                &lt;td colspan=2&gt; 合并列&lt;/td&gt;
                &lt;td rowspan=2&gt; 合并行&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                &lt;td&gt;&nbsp;&lt;/td&gt;
                &lt;td&gt;&nbsp;&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                &lt;td&gt;&nbsp;&lt;/td&gt;
                &lt;td&gt;&nbsp;&lt;/td&gt;
                &lt;td&gt;&nbsp;&lt;/td&gt;
                &lt;/tr&gt;
                &lt;<span class='red'>/table</span>&gt;
            </pre></div>
        <hr/>
        <div class='title'>代码效果</div>
            <div class='result'>
    <table border=1 width='50%'>
        <tr>
            <td colspan=2>合并列</td>
            <td rowspan=2>合并行</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </table>
            </div>
    </body>
</html>